const {
  http
} = uni.$u

export const checkSave = (body) => http.post('/api/system/shengrui/checkSave', body)

export const checkState = (body) => http.post('/api/system/shengrui/checkState', body)

export const restart = (body) => http.post('/api/system/shengrui/restart', body)

export const checkIdOrName = (body) => http.post('/api/system/shengrui/check/id/name', body)

export const saveIdCard = (body) => http.post('/api/system/shengrui/save/idcard', {data:body})

export const checkIdCard = (idCardNo,name) => http.post('/api/system/shengrui/check/idcard', {idCardNo,name})

export const checkName = (name) => http.post('/api/system/shengrui/check/name', {name})